home *** CD-ROM | disk | FTP | other *** search
/ AutoCAD Resource Guide / AutoCAD Resource Guide - ESX Interactive.ISO / argdemos / autocode / posts / mill.pat < prev    next >
Encoding:
Text File  |  1994-08-23  |  1.7 KB  |  76 lines

  1. ;;;;;;;;;;;;;;; MILL EXAMPLE POST PROCESSOR PATTERN MASTER
  2. ^ZUP
  3. * Retract to 0.1 absolute
  4. SP|1|0|0
  5. ZSA|0.1|0|0
  6. PT|0|0|0
  7. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  8. ^FEED1
  9. * Feed rate output
  10. S1|@FEED|0|0
  11. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  12. ^FEED2
  13. * Feed rate output for drilling
  14. S1|@FEEDZ|0|0
  15. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  16. ^FINI
  17. * M30 output
  18. MM|30|0|0
  19. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  20. ^DRILLG81
  21. * G81 drill cycle
  22. S4|@DRILLZ|0|0
  23. S3|@RAPID|0|0
  24. S1|@FEEDZ|0|0
  25. S2|@SPEED|0|0
  26. XX|$G81|0|0
  27. XX|*M3|0|0
  28. >2|0|0|0
  29. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  30. ^DRILL
  31. * G81 drill cycle preparations
  32. S4|@DRILLZ|0|0
  33. S3|@RAPID|0|0
  34. S1|@FEEDZ|0|0
  35. S2|@SPEED|0|0
  36. XX|$G81|0|0
  37. XX|*M3|0|0
  38. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  39. ^TLCON
  40. * Tool length compensation on
  41. S4|@TOOLLEN|0|0
  42. XX|G43|0|0
  43. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  44. ^TLC
  45. * Tool length compensation off
  46. S4|Z0|0|0
  47. XX|G43|0|0
  48. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  49. ^CCO
  50. * Cutter compensation off
  51. XX|G40|0|0
  52. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  53. ^CCL
  54. * Cutter compensation left
  55. XX|G41|0|0
  56. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  57. ^CCR
  58. * Cutter compensation right
  59. XX|G42|0|0
  60. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  61. ^COOLON
  62. * Coolant on
  63. XX|M08|0|0
  64. ^COOLOFF
  65. * Coolant off
  66. XX|M09|0|0
  67. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  68. ^TOOLCHG
  69. * Tool change
  70. S5|@TOOLNO|0|0
  71. XX|M06|0|0
  72. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  73. ^STARTUP
  74. * Start up processing
  75. XX|G17G40G20|0|0
  76.